package com.example.sparksqltest.demos.dao;

import java.math.BigDecimal;

public class MovieRating {
    private final String movieGenre;
    private final String viewerGender;
    private final BigDecimal avgRating;

    public MovieRating(String movieGenre, String viewerGender, BigDecimal avgRating) {
        this.movieGenre = movieGenre;
        this.viewerGender = viewerGender;
        this.avgRating = avgRating;
    }

    public String getMovieGenre() {
        return movieGenre;
    }

    public String getViewerGender() {
        return viewerGender;
    }

    public BigDecimal getAvgRating() {
        return avgRating;
    }
}